package com.test1225;

public class Test01 {
    public static void main(String[] args) {
        // 返回3个变量中的最大值
        int a = 2;
        float b = 3.0F;
        double c = 4.0;
        double d = m01(a, b, c);
        System.out.println(d);
    }
    public static double m01(int a,float b,double c){
        return (a>b?a:b)>c?(a>b?a:b):c;
    }
}
